package com.tangqihang229350526.mynote.database

class Note {
    var id = 0
    var title: String
    var time: String? = null
    var address: String? = null
    var content: String? = null
    var type: String? = null
    var image: String? = null
    var layoutType = 1

    constructor(
        id: Int,
        title: String,
        time: String?,
        address: String?,
        content: String?,
        type: String?,
        image: String?
    ) {
        this.id = id
        this.title = title
        this.time = time
        this.address = address
        this.content = content
        this.type = type
        this.image = image
    }

    constructor(title: String, layoutType: Int) {
        this.title = title
        this.layoutType = layoutType
    }
}